/*
 * Skybox.h
 *
 *  Created on: 2012/07/06
 *      Author: weihe
 */

#ifndef SKYBOX_H_
#define SKYBOX_H_

#include <iostream>
#include <string>
#include <stdio.h>
#include "Drawable.h"
#include "glex.h"

using namespace std;

namespace object {

class Skybox: public Drawable {
	int size;
	TextureList *textures;
public:
	Skybox(Camera *camera, TextureList &textures, int size = 6) :
			Drawable(camera), textures(&textures), size(size) {
		assert(size == 5 || size == 6);
	}
	virtual ~Skybox() {
	}

	virtual void draw();
};

} /* namespace object */
#endif /* SKYBOX_H_ */
